package com.tom.mapper;

import com.tom.model.Account;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AccountMapper {

    Integer updateAccount(Account account);

    Integer addMoney(@Param("id")Integer id, @Param("money")Double money);

    Integer subMoney(@Param("id")Integer id, @Param("money")Double money);
}
